package com.fxpc.hddc.hdc200.dto.primary.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 映射mysql数据库表
 *
 * @Author leon
 * @Date: 2021/4/14 3:41 下午
 */
@Data
@Entity
@Table(name = "fxqh_hdc200")
public class FxqhHdc200Entity implements Serializable {

    /**
     * 备选字段5
     */
    @Column(name = "extends5")
    private String extends5;
    /**
     * 备选字段3
     */
    @Column(name = "extends3")
    private String extends3;
    /**
     * 区
     */
    @Column(name = "area")
    private String area;
    /**
     * 创建人
     */
    @Column(name = "create_user")
    private String createUser;
    /**
     * 市
     */
    @Column(name = "city")
    private String city;
    /**
     * 是否有效,0:无效,1:有效
     */
    @Column(name = "is_valid")
    private String isValid;
    /**
     * 分区标识
     */
    @Column(name = "partition_flag")
    private String partitionFlag;
    /**
     * 备选字段4
     */
    @Column(name = "extends4")
    private String extends4;
    /**
     * 修改时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 行政区划组合编码+探槽码
     */
    @Column(name = "object_code")
    private String objectCode;
    /**
     * 地区省
     */
    @Column(name = "province")
    private String province;
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;
    /**
     * 备选字段1
     */
    @Column(name = "extends1")
    private String extends1;
    /**
     * 修改人
     */
    @Column(name = "update_user")
    private String updateUser;
    /**
     * 断层编号
     */
    @Column(name = "hdc_code")
    private String hdcCode;
    /**
     * 备选字段2
     */
    @Column(name = "extends2")
    private String extends2;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    /**
     * 断层名称
     */
    @Column(name = "hdc_name")
    private String hdcName;

}